name_list=["lan","wang","fang"]
#index-查
print(name_list.index("lan",0,2))   #0

#count-数
print(name_list.count("lan"))   #1

#len-计算长度
print(len(name_list))   #3
